package TransactionImplementation

import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
)

type ChangeAddressTransaction struct {
	AbstractTransaction.ChangeEmployeeTransaction
	itsAddress string
}

func (b *ChangeAddressTransaction) Change(c *Model.Employee) {
	c.SetAddress(b.itsAddress)
}